﻿using System.Collections.Generic;
using Microsoft.TeamFoundation.WorkItemTracking.Client;

namespace Hierarchy_Maker
{
    public class WitType
    {
        public WorkItemType Type { get; set; }
        //public List<string> Fields { get; set; }

        public WitType(WorkItemType type)
        {
            this.Type = type;
            //this.Fields = new List<string>();

            //foreach (FieldDefinition f in Type.FieldDefinitions)
            //    Fields.Add(f.Name);

        }

        public override string ToString()
        {
            return Type.Name;
        }

    }
}